import os

from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node


def generate_launch_description():
   
    video_player_node = Node(
            package='video_player', 
            executable='video_player_node',  # 可执行文件名（CMakeLists中定义的EXECUTABLE）
            name='hero_vision_node',
            output='screen'
        )
    
    return LaunchDescription([
        video_player_node
    ])
    
